home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / yp_bootparam.z / yp_bootparam
Encoding:
Text File  |  2002-10-03  |  5.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. yyyypppp____bbbboooooooottttppppaaaarrrraaaammmm((((1111MMMM))))                                              yyyypppp____bbbboooooooottttppppaaaarrrraaaammmm((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      yp_bootparam - update the NIS bootparams database
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      yyyypppp____bbbboooooooottttppppaaaarrrraaaammmm ----hhhh _h_o_s_t ----aaaa [ ----bbbb ] [ ----kkkk _k_e_y__f_i_l_e ] ----ffff _f_i_l_e
  13.      yyyypppp____bbbboooooooottttppppaaaarrrraaaammmm ----hhhh _h_o_s_t ----aaaa [ ----bbbb ] [ ----kkkk _k_e_y__f_i_l_e ] ppppaaaarrrraaaammmmssss
  14.      yyyypppp____bbbboooooooottttppppaaaarrrraaaammmm ----hhhh _h_o_s_t ----dddd [ ----bbbb ] [ ----kkkk _k_e_y__f_i_l_e ]
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _y_p__b_o_o_t_p_a_r_a_m is the user interface tool to update the NIS _b_o_o_t_p_a_r_a_m_s(4)
  18.      database directly on client workstation without running on ypmaster.
  19.      _y_p__b_o_o_t_p_a_r_a_m uses the _y_p_u_p_d_a_t_e_d(1M) service on ypmaster to update the
  20.      bootparams database.
  21.  
  22.      User can either add an entry to database or delete an entry.  As long as
  23.      the hostname is registered in the NIS hosts database and the bootparam
  24.      entry does not exist, the user can always add an entry to the bootparams
  25.      database.  In this process, a security key can be requested on return.
  26.      When deleting an entry, the same key (if there is one) must be submitted
  27.      in the same command line.  Otherwise, the request is rejected.  The
  28.      update daemon on ypmaster stores the keys in /_v_a_r/_b_o_o_t/_k_e_y_s_t_o_r_e, while
  29.      _y_p__b_o_o_t_p_a_r_a_m saves the key in the file specified by the input parameter.
  30.  
  31. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  32.      ----hhhh _h_o_s_t   Use _h_o_s_t as the key in bootparams database.  The _h_o_s_t is
  33.                checked against NIS hosts database unless ----bbbb is specified.  If
  34.                _h_o_s_t is an alias, the real key found in hosts data base is used
  35.                instead.
  36.  
  37.      ----aaaa        Add an entry.
  38.  
  39.      ----dddd        Remove an entry.
  40.  
  41.      ----bbbb        Use _h_o_s_t as key without checking NIS hosts database.
  42.  
  43.      ----kkkk _k_e_y__f_i_l_e
  44.                When adding an entry, the _k_e_y__f_i_l_e is used to save the returned
  45.                key.  When deleting an entry, it is used to pass the original
  46.                key.
  47.  
  48.      ----ffff _f_i_l_e   The _f_i_l_e contains the data part in the bootparam entry.  It
  49.                should have the following format:
  50.  
  51.                     root=root_server:root_path
  52.                     sbin=share_server:sbin_path
  53.                     swap=root_server:swap_path
  54.                     dump=root_server:dump_path
  55.  
  56.                The dump value is optional.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. yyyypppp____bbbboooooooottttppppaaaarrrraaaammmm((((1111MMMM))))                                              yyyypppp____bbbboooooooottttppppaaaarrrraaaammmm((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      ppppaaaarrrraaaammmmssss    If ----ffff is not used, the boot parameters should be passed at
  75.                command level.
  76.  
  77. EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  78.           _yyyy_pppp______bbbb_oooo_oooo_tttt_pppp_aaaa_rrrr_aaaa_mmmm _----_aaaa _----_hhhh _bbbb_oooo_nnnn_nnnn_iiii_eeee _----_kkkk _////_mmmm_yyyy_kkkk_eeee_yyyy
  79.                _rrrr_oooo_oooo_tttt_====_cccc_llll_yyyy_dddd_eeee_::::_////_dddd_llll_////_cccc_llll_iiii_eeee_nnnn_tttt_////_bbbb_oooo_nnnn_nnnn_iiii_eeee _ssss_bbbb_iiii_nnnn_====_cccc_llll_yyyy_dddd_eeee_::::_////_dddd_llll_////_ssss_hhhh_aaaa_rrrr_eeee_////_ssss_bbbb_iiii_nnnn
  80.                _ssss_wwww_aaaa_pppp_====_cccc_llll_yyyy_dddd_eeee_::::_////_dddd_llll_////_ssss_wwww_aaaa_pppp_////_bbbb_oooo_nnnn_nnnn_iiii_eeee
  81.  
  82.      Creates a bootparam entry in ypmaster.  The security key returned is left
  83.      in /_m_y_k_e_y.
  84.  
  85. NNNNOOOOTTTTEEEE
  86.      After using _y_p__b_o_o_t_p_a_r_a_m, it takes a short time for the NIS bootparams
  87.      database, as seen by the client, to reflect the change.
  88.  
  89. CCCCAAAAVVVVEEEEAAAATTTT
  90.      _y_p__b_o_o_t_p_a_r_a_m does not communicate with non-SGI NIS masters.
  91.  
  92. FFFFIIIILLLLEEEESSSS
  93.      /var/yp/yp_bootparam
  94.      /var/boot/keystore
  95.      /usr/include/rpcsvc/ypclnt.h     error code listing
  96.  
  97. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  98.      updbootparam(1M), ypupdated(1M), bootparams(4).
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.